from pymongo import MongoClient
from config import Config

# Prefer using shared Config-managed client/db
mongo = Config.get_mongo_client()
db = Config.get_mongo_db()

jokes_col = Config.jokes_collection()      # 存放笑话数据
chat_col = Config.chat_collection()  # 存放聊天记录
